package cn.net.msg.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.stereotype.Component;

@Component("score")
@Entity @Table(name = "tb_score")
public class TbScore {

    @Id @Column(name = "Score_id",length=11)
    private int scoreId;
    @Column(name = "Exam_fileid",length=11) 
    private int examFileId;
    @Column(name = "User_id",length=20) 
    private long userId;
    @Column(name = "Score_score",length=100)
    private String scoreScore;
    @Column(name = "Score_inputtime")
    @Temporal(TemporalType.TIMESTAMP)
    private Date scoreInputtime;
    @Column(name = "Udf1",length=100)
    private String udf1;
    @Column(name = "Udf2",length=100)
    private String udf2;
    @Column(name = "Udf3",length=100)
    private String udf3;


    public int getScoreId() {
        return scoreId;
    }
    public void setScoreId(int scoreId) {
        this.scoreId = scoreId;
    }


    public int getExamFileId() {
        return examFileId;
    }
    public void setExamFileId(int examFileId) {
        this.examFileId = examFileId;
    }


    public long getUserId() {
        return userId;
    }
    public void setUserId(long userId) {
        this.userId = userId;
    }


    public String getScoreScore() {
        return scoreScore;
    }
    public void setScoreScore(String scoreScore) {
        this.scoreScore = scoreScore;
    }


    public Date getScoreInputtime() {
        return scoreInputtime;
    }
    public void setScoreInputtime(Date scoreInputtime) {
        this.scoreInputtime = scoreInputtime;
    }


    public String getUdf1() {
        return udf1;
    }
    public void setUdf1(String udf1) {
        this.udf1 = udf1;
    }


    public String getUdf2() {
        return udf2;
    }
    public void setUdf2(String udf2) {
        this.udf2 = udf2;
    }


    public String getUdf3() {
        return udf3;
    }
    public void setUdf3(String udf3) {
        this.udf3 = udf3;
    }

}
